Customer Order Delivery SSCC
Frequency:
Customer order delivery data is available when the delivery process closes on the WMS side.
Expected data:
Returns delivery data for a given Customer Order (CO), grouped by the outbound transport unit (SSCC) the goods were shipped on, with every line split by the stock pallet it was picked from. It is the same data as Customer Order Delivery, in a form that is enough to print a delivery document per SSCC.
Technical:
Each outbound SSCC is returned once, whichever picking documents filled it. Each line is one stock pallet of one customer order line picked on one picking document onto that SSCC, with the picking document it was picked on. A customer order line picked from several stock pallets, on several picking documents or onto several SSCCs, is returned as several lines, each with the original customer_order_line_number. No line numbers are generated.
Linked empties are returned inside the line that produced them, in linked_empties. They are calculated per SSCC from the total quantity of the order line on that SSCC, and are given on the first line of that order line on the SSCC.
The transport unit's own article (SSCC carrier) is given once per SSCC in carrier, when agreed for the client; otherwise it is null. Cross-dock deliveries are given in xdock_lines of the outbound SSCC they were shipped on.
Picked lines that are not on any SSCC are returned in one transport unit with sscc null. Order lines with no picked quantity are not returned.
Every field is always present; a field without a value is null, and a list without entries is empty.
GET https://{url}/v1/orders/customer/{customerOrderExternalId}/delivery/sscc
Retrieve delivery data for a customer order per SSCC.
GET https://{url}/v1/orders/customer/delivery/sscc?externalId={customerOrderExternalId}
The same request with the customer order ID as a query parameter. Use it when the ID contains /, \, %, ; or .., which cannot be sent in the path. URL-encode the ID, e.g. Regular_FK.05.2026/78 as externalId=Regular_FK.05.2026%2F78. The response is the same as for the path form.
Response Body
The response contains customer order header fields and a transport_units array. Each transport unit contains the lines and xdock_lines shipped on it.
Top-level response fields:
| Name | Type | Required | Description |
|---|---|---|---|
| success | boolean | Yes | Whether the operation succeeded |
| message | string | No | Error message, if applicable |
| customer_order_id | string | Yes | CO unique identifier in ERP |
| status | integer | Yes | CO delivery status: 1 - Not started, 2 - In picking, 3 - Delivered |
| shipping_date | string | No | CO delivery date (in format '2025-04-15T12:51:34'). Empty until picking of the order is finished |
| delivery_document_id | string | Yes | Delivery document unique identifier in WMS |
| transport_units | array | Yes | Array of transport unit objects |
Transport unit object (inside transport_units array):
| Name | Type | Required | Description |
|---|---|---|---|
| sscc | string | No | SSCC of the outbound transport unit. null for picked lines that are not on any SSCC |
| carrier | object | No | The transport unit's article (article_id, quantity, quantity_unit_id), when agreed for the client |
| lines | array | Yes | Array of picked line objects on the transport unit |
| xdock_lines | array | Yes | Array of cross-dock line objects on the transport unit |
Line object (inside lines array):
| Name | Type | Required | Description |
|---|---|---|---|
| customer_order_line_number | integer | Yes | CO detail line number |
| picking_document_id | string | Yes | Picking document unique identifier in WMS the quantity was picked on |
| picking_date | string | Yes | Picking document date (in format '2025-04-15T12:51:34') |
| article_id | string | Yes | Article unique identifier in ERP |
| quantity | number | Yes | Picked quantity from this stock pallet onto this SSCC |
| quantity_unit_id | string | Yes | Picked quantity unit of measure |
| stock_sscc | string | No | SSCC of the stock pallet the quantity was picked from |
| shelf_life | string | No | Shelf life date of the stock pallet (in format '2025-04-15') |
| batch | string | No | Batch of the stock pallet |
| country_of_origin | string | No | Country of origin of the stock pallet |
| excise | array | Yes | Excise stamp ranges of the stock pallet (serial, range_from, range_to) |
| local_excise | string | No | Local excise stamp information |
| tobacco_codes | array | Yes | Tobacco unique identifiers scanned at picking (level, code) |
| linked_empties | array | Yes | Empties linked to the article (article_id, quantity, quantity_unit_id) |
Tobacco code object (inside tobacco_codes array):
| Name | Type | Required | Description |
|---|---|---|---|
| level | string | Yes | AGGREGATED for an aggregated unique identifier, UNIT for a unit pack unique identifier |
| code | string | Yes | The unique identifier as reported to the EU tobacco traceability system |
Cross-dock line object (inside xdock_lines array):
| Name | Type | Required | Description |
|---|---|---|---|
| article_id | string | Yes | Article unique identifier in ERP |
| quantity | number | Yes | Delivered quantity |
| quantity_unit_id | string | Yes | Quantity unit of measure |
| linked_empties | array | Yes | Empties linked to the article (article_id, quantity, quantity_unit_id) |
Response
200: OK — Success
{
"success": true,
"message": null,
"customer_order_id": "3000437294",
"status": 3,
"shipping_date": "2025-04-15T12:51:34",
"delivery_document_id": "8726834",
"transport_units": [
{
"sscc": "347500000000000011",
"carrier": {
"article_id": "EUR",
"quantity": 1,
"quantity_unit_id": "PCS"
},
"lines": [
{
"customer_order_line_number": 10000,
"picking_document_id": "992827",
"picking_date": "2025-04-15T09:10:00",
"article_id": "0001",
"quantity": 6,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009901",
"shelf_life": "2025-12-01",
"batch": "B2611",
"country_of_origin": "LV",
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": [
{
"article_id": "CRATE",
"quantity": 1,
"quantity_unit_id": "PCS"
}
]
},
{
"customer_order_line_number": 10000,
"picking_document_id": "992828",
"picking_date": "2025-04-15T10:25:00",
"article_id": "0001",
"quantity": 6,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009925",
"shelf_life": "2025-12-15",
"batch": "B2612",
"country_of_origin": "LV",
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": []
},
{
"customer_order_line_number": 20000,
"picking_document_id": "992828",
"picking_date": "2025-04-15T10:25:00",
"article_id": "0047",
"quantity": 50,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009918",
"shelf_life": null,
"batch": null,
"country_of_origin": "PL",
"excise": [
{
"serial": "GF",
"range_from": 1500,
"range_to": 3000
}
],
"local_excise": null,
"tobacco_codes": [
{
"level": "AGGREGATED",
"code": "04750000000017A1B2C3D4"
},
{
"level": "UNIT",
"code": "Q1W2E3R4T5Y626070704"
}
],
"linked_empties": []
}
],
"xdock_lines": []
},
{
"sscc": "347500000000000028",
"carrier": {
"article_id": "EUR",
"quantity": 1,
"quantity_unit_id": "PCS"
},
"lines": [
{
"customer_order_line_number": 10000,
"picking_document_id": "992827",
"picking_date": "2025-04-15T09:10:00",
"article_id": "0001",
"quantity": 24,
"quantity_unit_id": "PCS",
"stock_sscc": "347500000000009901",
"shelf_life": "2025-12-01",
"batch": "B2611",
"country_of_origin": "LV",
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": [
{
"article_id": "CRATE",
"quantity": 2,
"quantity_unit_id": "PCS"
}
]
}
],
"xdock_lines": [
{
"article_id": "XD100",
"quantity": 3,
"quantity_unit_id": "PCS",
"linked_empties": []
}
]
},
{
"sscc": null,
"carrier": null,
"lines": [
{
"customer_order_line_number": 30000,
"picking_document_id": "992827",
"picking_date": "2025-04-15T09:10:00",
"article_id": "0102",
"quantity": 2,
"quantity_unit_id": "PCS",
"stock_sscc": null,
"shelf_life": null,
"batch": null,
"country_of_origin": null,
"excise": [],
"local_excise": null,
"tobacco_codes": [],
"linked_empties": []
}
],
"xdock_lines": []
}
]
}
400: Bad Request — Error
{
"success": false,
"message": "Customer Order not found by ID 3000437294"
}